package com.itheima.reggie_auto.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie_auto.entity.Employee;
import com.itheima.reggie_auto.entity.RePassVO;

public interface EmployeeService {

    /**
     * 根据用户名查询员工信息
     * @param username
     * @return
     */
    public Employee getOne(String username);

    public void save(Employee employee);

    Page selectByPage(int page, int pageSize, String name);

    public void update(Employee employee);

    Employee getById(Long id);

    void updatePwd(Long empId, RePassVO rePassVO);
}
